![]() | ![]() | ![]() | ![]() |
In SAS® Text Miner, if a diagram flow contains multiple Text Filter nodes, an error might occur when the Score node at the end of the flow runs.
In the 5.1 and 5.1 M1 releases, the error is similar to the following:
ERROR: File WORK.TEXTFILTER_CONFIG.DATA does not exist. ERROR: Unexpected error detected in function TGSCORE: ERROR: File WORK.TEXTFILTER_CONFIG.DATA does not exist.
In the 12.1 release and higher, the error is similar to the following:
%tmc_doc_score(import=&em_score_output,export=work._newexport, - 180 WARNING: Apparent invocation of macro TMC_DOC_SCORE not resolved. ERROR 180-322: Statement is not valid or it is used out of proper order. WARNING: The data set EMWS5.SCORE_SCORE may be incomplete. When this step was stopped there were 0 observations and 24 variables. ERROR: File WORK._NEWEXPORT.DATA does not exist. WARNING: The data set EMWS5.SCORE_SCORE may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set EMWS5.SCORE_SCORE was not replaced because this step was stopped. ERROR: File WORK.TEXTFILTER2_OUT.DATA does not exist. WARNING: The data set WORK._WEIGHTED_TMOUT may be incomplete. When this step was stopped there were 0 observations and 0 variables. ERROR: Variable _DOCUMENT_ not found. ERROR: Variable _COUNT_ not found. WARNING: The data set WORK._SQROWVALS may be incomplete. When this step was stopped there were 0 observations and 0 variables. ERROR: Table WORK._SQROWVALS doesn't have any columns. PROC SQL requires each of its tables to have at least 1 column. ERROR: Function SQRT requires a numeric expression as argument 1. ERROR: The MEAN summary function requires a numeric argument. ERROR: The following columns were not found in the contributing tables: _count_. 7 divisor = &meaneuclen + (sqrt(&entry) - &meaneuclen)*&pivot; run; - 22 WARNING: Apparent symbolic reference MEANEUCLEN not resolved. 7 divisor = &meaneuclen + (sqrt(&entry) - &meaneuclen)*&pivot; run; - 22 ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT.
The workaround is to limit the diagram flow to only one Text Filter node.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Text Miner | Windows 7 Home Premium x64 | 5.1 | 9.3 TS1M0 | ||
Windows 7 Home Premium 32 bit | 5.1 | 9.3 TS1M0 | ||||
Windows 7 Enterprise x64 | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
Windows 7 Enterprise 32 bit | 5.1 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2008 for x64 | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
Microsoft Windows Server 2008 R2 | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
Microsoft Windows Server 2008 | 5.1 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2003 for x64 | 5.1 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2003 Standard Edition | 5.1 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 5.1 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 5.1 | 9.3 TS1M0 | ||||
Microsoft® Windows® for x64 | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
Microsoft Windows XP Professional | 5.1 | 9.3 TS1M0 | ||||
Windows 7 Professional 32 bit | 5.1 | 9.3 TS1M0 | ||||
Windows 7 Professional x64 | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
Windows 7 Ultimate 32 bit | 5.1 | 9.3 TS1M0 | ||||
Windows 7 Ultimate x64 | 5.1 | 9.3 TS1M0 | ||||
64-bit Enabled AIX | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
64-bit Enabled Solaris | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
HP-UX IPF | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
Linux for x64 | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 | ||
Solaris for x64 | 5.1 | 13.1 | 9.3 TS1M0 | 9.4 TS1M1 |